package com.gtw.modules.sys.service;

import com.gtw.modules.entity.TbProxyDividendDetails;

import java.util.List;

/**
 * Created by wuye on 2018/3/20.
 */
public interface TbProxyDividendDetailsService {

    int deleteByPrimaryKey(Integer id);

    int insert(TbProxyDividendDetails record);

    int insertSelective(TbProxyDividendDetails record);

    TbProxyDividendDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbProxyDividendDetails record);

    int updateByPrimaryKey(TbProxyDividendDetails record);

    /**
     * 根据受益人ID查询
     */
    List<TbProxyDividendDetails> queryBybenefit(Integer benefitUserid);

    /**
     * 根据触发人ID查询
     */
    List<TbProxyDividendDetails> queryBytrigger(Integer triggerUserid);

}
